Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Database Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-02
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.i18n.servlet.filter
Class ServletFilter

    java.lang.Object
      |
      +--oracle.i18n.servlet.filter.ServletFilter

All Implemented Interfaces:
  Filter

public class ServletFilter
extends Object
implements Filter

The `ServletFilter` class instantiates the wrappers of HTTP request and response objects for the GDK, and passes them to the application.

The application requires registering this class in `web.xml` to incorporate the GDK framework as follows:

     ...
     <filter>
       <filter-name>gdkfilter</filter-name>
       <filter-class>oracle.i18n.servlet.filter.ServletFilter</filter-class>
     </filter>
     ...
     <filter-mapping>
       <filter-name>gdkfilter</filter-name>
       <url-pattern>*.jsp</url-pattern>
     </filter-mapping>
     ...

Also, the `ContextListener` class needs to be registered in `web.xml` to complete the GDK installation.

Basically, user applications do not need to explicitly call any method in this class.

Since:
  10.1.0.2
See Also:
  `ContextListener`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface javax.servlet.Filter
`destroy, doFilter, init`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Database Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-02
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003, 2005, Oracle. All rights reserved.